package org.lds.hotkey.client.autoconfigure.component;

import org.lds.hotkey.common.autoconfigure.spring.SpringUtil;
import org.lds.hotkey.client.autoconfigure.hotkey.report.ReportService;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.core.annotation.Order;

@Order
public class ReportServiceStarterRunner implements ApplicationRunner {
    @Override
    public void run(ApplicationArguments args) throws Exception {
        SpringUtil.getBean(ReportService.class).start();
    }
}
